package com.zb.dao;

import com.zb.pojo.OrderItem;

import java.util.List;

/**
 * @author zb
 * @create 2021-03-09 10:12
 */
public interface OrderItemDao {

    /**
     * 保存订单项
     * @param orderItem
     * @return
     */
    int saveOrderItem(OrderItem orderItem);

    /**
     * 根据订单号查询订单明细
     * @param orderId
     * @return
     */
    List<OrderItem> queryOrderItemsByOrder(String orderId);


}
